// 社群相关接口
import http from "../../common/http.js"

export default {
	//我的溯源列表
	my_product_batch_process: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/my-product-batch-process', data,needLoading) 
	},
	// 填写溯源首次进入请求参数
	my_product_batch_process_sheet: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/my-product-batch-process-sheet', data,needLoading) 
	},
	//填写溯源保存和编辑接口
	product_batch_process_log_sheet_edit: (data,needLoading) => {
		return http.POST('/plugin/product_traceability/product-process/product-batch-process-log-sheet-edit', data,needLoading) 
	},
	//溯源记录列表
	product_batch_process_log_list: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/product-batch-process-log-list', data,needLoading) 
	},
	//撤销追溯
	product_batch_process_log_sheet_del: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/product-batch-process-log-sheet-del', data,needLoading) 
	},
	//历史溯源
	product_batch_process_log_history: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/product-batch-process-log-history', data,needLoading) 
	},
	//溯源专区
	product_batch_process_area: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/product-batch-process-area', data,needLoading) 
	},
	//溯源专区详情
	product_batch_process_detail: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/product-batch-process-detail', data,needLoading) 
	},
	//历史溯源详情
	product_batch_process_log_detail: (data,needLoading) => {
		return http.GET('/plugin/product_traceability/product-process/product-batch-process-log-detail', data,needLoading) 
	},
	//历史溯源详情
	product_batch_process_log_read: (data,needLoading) => {
		return http.POST('/plugin/product_traceability/product-process/product-batch-process-log-read', data,needLoading) 
	}
}